package com.ly.reserveconsumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;


@FeignClient(value = "SERVICE-PROVIDER",path = "/Reservations")
public interface ReservationsService {


    @RequestMapping("/ReservationsList")
    public List findReservationsInfo(@RequestParam Map map);
}
